﻿using System.Collections.Generic;
using Utility;

namespace BlizzardApi.Model
{
    public class AuctionFileCollection
    {
        public IEnumerable<AuctionFile> Files { get; set; }
    }

    public class AuctionFile
    {
        public string Url { get; set; }
        public UnixTimestamp LastModified { get; set; }
    }

    public class AuctionHouseCollection
    {
        public AuctionHouse Alliance { get; set; }
        public AuctionHouse Horde { get; set; }
        public AuctionHouse Neutral { get; set; }
    }

    public class AuctionHouse
    {
        public IEnumerable<Auction> Auctions { get; set; }
    }

    public class Auction
    {
        public int Auc { get; set; }
        public int Item { get; set; }
        public string Owner { get; set; }
        public long Bid { get; set; }
        public long Buyout { get; set; }
        public int Quantity { get; set; }
    }
}
